How do I hide user IDs and passwords in FSIUSER.INI files?

You can use the GetEnv variable in Windows environments. For instance, define these options in your FSIUSER.INI file:

< DBHandler:PO >
	Cabinet		= DMS1
	Domain		= docucorp
	UserID		= ~GetEnv UID
	Password	= ~GetEnv PWD

You can then define a user or system variable (or both) under the environment variables on Windows. Here is an example:

Variable Name:  UID
Variable Value:  erm

This way, you are not only using secure variables, you also prevent users who do not have proper security from viewing your user ID and password, unless they already know your Windows user ID and password.

If you are using Documanage 6.0, you can remove the UserID and password options from the INI file so Documanage will use the Windows account currently in use. The settings below are useful, however, if you want to specify a different Windows account than the one currently in use.

< DBHandler:PO >
	Cabinet		= DMS1
	Domain		= docucorp
	UserID		= ~GetEnv UID
	Password	= ~GetEnv PWD

For instance, a user could be logged on locally, but want to use the company domain where the Documanage Server is housed for Windows accounts authentication. These UserID and Password settings would apply in that situation.